/**
 * 
 */
package enumeration;

import com.xbang.attendance.utils.Constants;

/**
 * @author dev.zhang
 * 
 *         送货单状态-生成、发送、签收、结算中、已结算
 */
public enum DeliveryStatus {

	Generate, Send, Sign, Settlement, Settled;

	/**
	 * @return the name
	 */
	public String getAliseName() {

		switch (this) {
		case Generate:
			return Constants.DeliveryStatusConstants.DELIVERY_STATUS_GENERATE;
		case Send:
			return Constants.DeliveryStatusConstants.DELIVERY_STATUS_SEND;
		case Sign:
			return Constants.DeliveryStatusConstants.DELIVERY_STATUS_SIGN;
		case Settlement:
			return Constants.DeliveryStatusConstants.DELIVERY_STATUS_SETTLEMENT;
		}

		return Constants.DeliveryStatusConstants.DELIVERY_STATUS_SETTLED;
	}
}
